package com.beone.admin.entity;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.base.common.BaseModel;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * @Title 版本表 实体类
 * @Author 秦波
 * @Version 1.0 on 2019-05-11
 * @Copyright 贝旺科权
 */
@TableName("t_version")
public class Version extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 自增ID
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 客户端设备类型(2 Android/1 IOS)
     */
	@TableField("clientDeviceType")
	private Integer clientDeviceType;
    /**
     * 升级下载网址
     */
	@TableField("downloadUrl")
	private String downloadUrl;
    /**
     * 该升级版本的描述信息
     */
	@TableField("updateInfo")
	private String updateInfo;
    /**
     * 是否强制安装 0-否  1-是
     */
	@TableField("updateInstall")
	private Integer updateInstall;
    /**
     * 版本号
     */
	@TableField("version")
	private String version;
    /**
     * 1 已上线  0 未上线
     */
	@TableField("isOnline")
	private Integer isOnline;
    /**
     * 创建时间
     */
	@TableField("createTime")
	private Long createTime;
    /**
     * 更新时间
     */
	@TableField("updateTime")
	private Long updateTime;
    /**
     * 标记 1-有效 0-无效
     */
	@TableField("flag")
	private Integer flag;
    /**
     * 操作人
     */
	@TableField("sysuserId")
	private Long sysuserId;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getClientDeviceType() {
		return clientDeviceType;
	}

	public void setClientDeviceType(Integer clientDeviceType) {
		this.clientDeviceType = clientDeviceType;
	}

	public String getDownloadUrl() {
		return downloadUrl;
	}

	public void setDownloadUrl(String downloadUrl) {
		this.downloadUrl = downloadUrl;
	}

	public String getUpdateInfo() {
		return updateInfo;
	}

	public void setUpdateInfo(String updateInfo) {
		this.updateInfo = updateInfo;
	}

	public Integer getUpdateInstall() {
		return updateInstall;
	}

	public void setUpdateInstall(Integer updateInstall) {
		this.updateInstall = updateInstall;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public Integer getIsOnline() {
		return isOnline;
	}

	public void setIsOnline(Integer isOnline) {
		this.isOnline = isOnline;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public Long getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public Long getSysuserId() {
		return sysuserId;
	}

	public void setSysuserId(Long sysuserId) {
		this.sysuserId = sysuserId;
	}

	@Override
	public String toString() {
		return "Version{" +
			", id=" + id +
			", clientDeviceType=" + clientDeviceType +
			", downloadUrl=" + downloadUrl +
			", updateInfo=" + updateInfo +
			", updateInstall=" + updateInstall +
			", version=" + version +
			", isOnline=" + isOnline +
			", createTime=" + createTime +
			", updateTime=" + updateTime +
			", flag=" + flag +
			", sysuserId=" + sysuserId +
			"}";
	}
}
